package com.followmeandroid.messages;

/**
 * <p>Title: AddRegistrationIDRequest</p>
 * <p>Description: This class contains the data necessary
 * to send the server for adding a new registration id.</p>
 * @author Adam Drews
 * @email adam.drews@my.uwrf.edu
 * @date 11/29/2014
 * @team Tyler Johnson
 * @email tyler.johnson@my.uwrf.edu
 * @team Nicholas Thorp
 * @team nicholas.thorp@my.uwrf.edu
 */
public class AddRegistrationIDRequest extends ARequestBase {
    private String registrationId;
    private String deviceID;

    /**
     * Constructor for an add registration ID request. Takes the
     * a registration ID and a device ID as parameters.
     * @param regid     The registration ID.
     * @param devid     The Android device ID.
     */
    public AddRegistrationIDRequest(String regid, String devid){
        registrationId = regid;
        deviceID = devid;
    }

    /**
     * Returns the registration ID of the request.
     * @return registrationId   The registration ID.
     */
    public String getRegistrationId() {
        return registrationId;
    }

    /**
     * Sets the value of the registration ID for the request.
     * @param registrationId    The registration ID to be used.
     */
    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    /**
     * Returns the ID of the device to be used in the request.
     * @return deviceID     The Android device ID.
     */
    public String getDeviceID() {
        return deviceID;
    }

    /**
     * Sets the value of the device ID for the request.
     * @param deviceID      The Android device ID to be used.
     */
    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }
}
